package com.fubowen.lepton.conf

import androidx.annotation.IntDef

object AnnotationConfig {

    const val ICON_SOURCE_URL = 2
    const val ICON_SOURCE_RESOURCE = 4
    const val ICON_SOURCE_STRING = 8

    @IntDef(ICON_SOURCE_URL, ICON_SOURCE_RESOURCE, ICON_SOURCE_STRING)
    @Retention(AnnotationRetention.SOURCE)
    annotation class IconSource

    const val DATA_SOURCE_URL = 2
    const val DATA_SOURCE_RESOURCE = 4

    @IntDef(DATA_SOURCE_URL, DATA_SOURCE_RESOURCE)
    @Retention(AnnotationRetention.SOURCE)
    annotation class DataSource
}